<?php
namespace app\common\validate;

use think\Validate;
use think\exception\ValidateException;

class ArticleCate extends Validate
{
    protected $rule = [
        'name|分类名称'  =>  'require|unique:article_cate',
        'alias|别名'  =>  'require|unique:article_cate|alphaNum'
    ];

}